/**
 * WechatServiceImpl.java created by zhangzhidong 
 * at 下午2:46:14 2016年4月19日
 */
package service.wechatlab.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.wechatlab.WechatDao;
import pojo.weichatlab.Wechat;
import service.wechatlab.WechatService;

/**
 * @author zhangzhidong
 *
 */
@Service
public class WechatServiceImpl implements WechatService {
	@Autowired WechatDao wd;
	/**
	 * @Param
	 * @Author zhangzhidong
	 */
	
	public List<Wechat> selectWechatById(String id) {
		// TODO Auto-generated method stub
		
		return wd.selectWechatById(id);
	}
	public void saveOrUpdateWechat(Wechat wt){
		wd.updateWechat(wt);
	}

}
